<template>
  <header class="login-header">
    <div class="container">
      <h1 class="logo"><router-link to="/">logo</router-link></h1>
      <h2>有车网后台管理系统</h2>
    </div>
  </header>
</template>

<script>
export default {
  name: 'LoginHeader'
}
</script>

<style scoped lang='less'>
.login-header {
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  .container {
    display: flex;
    align-items: flex-end;
  }
  .logo {
    width: 200px;
    margin-right: 30px;
    a {
      display: block;
      height: 100px;
      width: 100%;
      text-indent: -9999px;
      background: url('@/assets/logo.png') no-repeat center 18px / contain;
    }
  }
  .sub {
    flex: 1;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 38px;
    margin-left: 20px;
    color: #666;
  }
  .entry {
    width: 120px;
    margin-bottom: 38px;
    font-size: 16px;
    i {
      font-size: 14px;
      color: red;
      letter-spacing: -5px;
    }
  }
}
</style>
